package com.dz.xjd.ui.activity;

import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

import com.dz.xjd.R;
import com.dz.xjd.ui.base.BaseActivity;
import butterknife.BindView;
import butterknife.OnClick;

public class UserInfoActivity extends BaseActivity {

    @BindView(R.id.layout_top_tv_left)
    TextView mTvTitleBack;

    @BindView(R.id.layout_top_tv_title)
    TextView mTvtitle;

    @BindView(R.id.et_user_name)
    EditText mEtName;

    @BindView(R.id.et_user_id)
    EditText mEtId;

    @BindView(R.id.btn_user_next)
    Button mBtnNext;


    @Override
    protected int getLayout() {
        return R.layout.activity_user_info;
    }

    @Override
    protected void init() {
        mTvtitle.setText("基本信息");
    }

    @Override
    public void initPresenter() {
        /*mPresenter.setVM(this, mModel);*/
    }

    @OnClick({R.id.btn_user_next, R.id.layout_top_tv_left})
    void onClick(View v) {
        switch (v.getId()){
            case R.id.layout_top_tv_left :
                onBackPressed();
                break;
            case R.id.btn_user_next :
                nextSubmit();
                break;
        }
    }



    private void nextSubmit() {
        if(verifyLoginInfo()){

        }
    }


    private boolean verifyLoginInfo(){
        return false;
    }






}
